<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <meta name="accept-language" content="@CultureHelper.GetCurrentCulture()"/>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" media="screen" />
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    @RenderSection("StyleSheetSection", false)
    @*HTML 5 support for IE7 and 8*@
    <!--[if lt IE 9]>
    <script>
        document.createElement('header');
        document.createElement('nav');
        document.createElement('section');
        document.createElement('article');
        document.createElement('aside');
        document.createElement('footer');
        document.createElement('hgroup');
    </script>
    <![endif]-->
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr.2.6.2.js")" type="text/javascript"></script>
    <script type="text/javascript">
        //Modernizr init
        Modernizr.load({
            test: Modernizr.input.placeholder,
            nope: [
                '@Url.Content("~/Content/placeholder_polyfill.css")',
                '@Url.Content("~/Scripts/foodbank.watermark-ie.js")',
                '@Url.Content("~/Scripts/jquery.ba-resize.min.js")',
                '@Url.Content("~/Scripts/jquery.onfontresize.min.js")',
                '@Url.Content("~/Scripts/jquery.placeholder_polyfill.min.js")'
            ]
        });
        var localizedMessages = {
            "selectitem": "@Html.Raw(GlobalResources.SelectItem)",
            "username": "@Html.Raw(AccountResources.UserName)",
            "password": "@Html.Raw(AccountResources.Password)"
        };
    </script>
</head>
<body>
    <div id="page" class="clearfix">
        <header class="clearfix">
            @Html.Partial("_UserInfo")
            @Html.Partial("_LanguagePicker")
            <nav>
            </nav>
        </header>
        <div id="main" class="shadow">
            <div id="feedback-panel" class="hidden">
            </div>
            <div id="content">
                @RenderBody()
            </div>
        </div>
        <script src="@Url.Content("~/Scripts/globalize.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/cultures/globalize.culture." + CultureHelper.GetCurrentCulture() + ".js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/foodbank.common.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/foodbank.languagepicker.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/foodbank.userinfo.js")" type="text/javascript"></script>
        @RenderSection("ScriptSection", false)
        <footer>
            FoodBank is currently in development.
        </footer>
    </div>
</body>
</html>
